package com.adcc.automation.service.transfer;

import com.adcc.automation.service.configuration.ConnectionStatus;
import com.adcc.automation.service.configuration.Operation;

public interface TransferListener {
    /**
     * 数据接收监听
     */
    void onData(int source ,Operation operation, String data) throws Exception;
    
    /**
     * 状态监听
     */
    void onState(ConnectionStatus status);
}
